import request from '@/utils/request'

/**
 * 数据总览
 * null
 */
export const dataScreen = (params?) => {
  return request({
    url: '/workbenches/dataScreen',
    method: 'GET',
    params,
  })
}

/**
 * 近期国内地震信息top10
 * null
 */
export const recentEarthquakeInfo = (params?) => {
  return request({
    url: '/workbenches/recentEarthquakeInfo',
    method: 'GET',
    params,
  })
}

/**
 * 设备型号数量统计
 * null
 */
export const deviceModelStatistics = (params?) => {
  return request({
    url: '/workbenches/deviceModelStatistics',
    method: 'GET',
    params,
  })
}

/**
 * 近期告警统计
 * null
 */
export const recentAlarmStatistics = (params?) => {
  return request({
    url: '/workbenches/recentAlarmStatistics',
    method: 'GET',
    params,
  })
}
